﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using Software41.Tracking.Model;

namespace Software41.Tracking.Data.EF
{
    public class ExceptionDetailMapping: EntityTypeConfiguration<ExceptionDetail> 
    {
        public ExceptionDetailMapping()
        {
            ToTable("bam_ProcessDiagnostics_ViewExceptionDetail_View");
            HasKey(p => p.ActivityID);
            Ignore(p => p.ReferenceData);
        }
    }
}
